package ay.shadow.seckill.excepetion;

import ay.shadow.seckill.entity.vo.RespBeanEnum;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Param
 * @Description 全局异常
 * @Return
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class GlobalException extends RuntimeException{
    // 用来枚举异常
    private RespBeanEnum respBeanEnum;
}
